import random
import string

def generate_unique_codes(num_codes, length):
    characters = string.ascii_uppercase + string.digits
    codes = set()

    while len(codes) < num_codes:
        code = ''.join(random.choices(characters, k=length))
        codes.add(code)

    return list(codes)

# 生成100个39位的唯一码
unique_codes = generate_unique_codes(100, 39)

# 打印结果
for code in unique_codes:
    print(f":{code}")
